using System;
using System.Collections.Generic;
using System.Text;

namespace DataTransferObject
{
    public class clsTapChiDTO
    {
        //Fields.
        private String maTapChi;
        private String tenTapChi;
        private String tenKy;
        private DateTime thoiGian;
        private DateTime ngayNhap;
        private String ngonNgu;
        private String trangThai;

        //Constructors.
        public clsTapChiDTO()
        {
        }

        public clsTapChiDTO(String maTapChi, String tenTapChi, String tenKy,
                         DateTime thoiGian, DateTime ngayNhap, String ngonNgu, String trangThai)
        {
            this.maTapChi = maTapChi;
            this.tenTapChi = tenTapChi;
            this.tenKy = tenKy;
            this.thoiGian = thoiGian;
            this.ngayNhap = ngayNhap;
            this.ngonNgu = ngonNgu;
            this.trangThai = trangThai;
        }

        #region Properties
        public String MaTapChi
        {
            set { this.maTapChi = value; }
            get { return this.maTapChi; }
        }

        public String TenTapChi
        {
            set { this.tenTapChi = value; }
            get { return this.tenTapChi; }
        }

        public String TenKy
        {
            set { this.tenKy = value; }
            get { return this.tenKy; }
        }

        public DateTime ThoiGian
        {
            set { this.thoiGian = value; }
            get { return this.thoiGian; }
        }

        public DateTime NgayNhap
        {
            set { this.ngayNhap = value; }
            get { return this.ngayNhap; }
        }

        public String NgonNgu
        {
            set { this.ngonNgu = value; }
            get { return this.ngonNgu; }
        }

        public String TrangThai
        {
            set { this.trangThai = value; }
            get { return this.trangThai; }
        }

        #endregion.
    }
}
